package com.joinval.modules.sys.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * author: chenkaihang
 * date: 2020/8/24 7:02 下午
 */
@Data
@ApiModel(value = "WxLoginFrom",description ="微信登陆用户信息" )
public class WxLoginForm{

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名",name = "username")
    private String realName;
    /**
     * 个人头像
     */
    @ApiModelProperty(value = "个人头像",name = "logo")
    private String logo;
    /**
     * 性别
     */
    @ApiModelProperty(value = "性别",name = "gender")
    private Integer gender;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号",name = "mobile")
    private String mobile;
    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号",name = "idCard")
    private String idCard;
    /**
     * 照片url
     */
    @ApiModelProperty(value = "照片url",name = "photoUrl")
    private String photoUrl;
    /**
     * 志愿者编号
     */
    @ApiModelProperty(value = "志愿者编号",name = "volCode")
    private String volCode;
    /**
     * 机构名称
     */
    @ApiModelProperty(value = "机构名称",name = "orgName")
    private String orgName;
    /**
     * 机构编号
     */
    @ApiModelProperty(value = "机构编号",name = "orgCode")
    private String orgCode;
    /**
     * 机构地址
     */
    @ApiModelProperty(value = "机构地址",name = "orgLocation")
    private String orgLocation;
    /**
     * 用户类型类型
     */
    @NotNull(message = "用户类型不能为空!")
    @ApiModelProperty(value = "用户类型",name = "type")
    private String type;

    /**
     *机构类型
     */
    @ApiModelProperty(value = "机构类型",name = "orgType")
    private String orgType;

    /**
     * 志愿者团体主键
     */
    @ApiModelProperty(value = "志愿者团体主键",name = "volTeamId")
    private Long volTeamId;
}
